<template>
  <n-card class="bottom-operation" :style="style" hoverable size="small">
    <div class="bottom-operation__left">
      <slot name="left"></slot>
    </div>
    <div class="bottom-operation__center">
      <slot name="center"></slot>
    </div>
    <div class="bottom-operation__right">
      <slot name="right"></slot>
    </div>
  </n-card>
</template>

<script setup lang="ts" name="ProBottomOperation">
  defineProps({
    style: [Object, String],
    class: String
  })
</script>

<style lang="less" scoped>
  .bottom-operation {
    position: absolute;
    bottom: 5px;
    left: 0px;
    right: 0px;

    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
</style>
